package com.xiaolin.sports.job;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import com.xiaolin.sports.service.IWechatMeidaService;

@Component
public class WechatMediaJob {
	
	@Autowired
	private IWechatMeidaService wechatMediaService;

	@Scheduled(cron = "0 0 2 * * ?")
	public void updateWechatMedia() {
		wechatMediaService.updateSyncWechatMedia();
	}
	
}
